package edu.ccut.saturn.workflow.startWorkFlowModule.code;

import edu.ccut.saturn.component.DefaultComponent;
import edu.ccut.saturn.component.IParameterContext;
import edu.ccut.saturn.workflow.common.Constants;

public class GetConstofWorkFlow extends DefaultComponent {
	@Override
	public void execute(IParameterContext parameterContext) throws Exception {
		parameterContext.setParameter(0, Constants.ACTIVITY_TYPE_MAN);
		parameterContext.setParameter(1, Constants.ACTIVITY_TYPE_AUTO);
		parameterContext.setParameter(2, Constants.ACTIVITY_TYPE_DECISION);
		parameterContext.setParameter(3, Constants.ACTIVITY_TYPE_START);
		parameterContext.setParameter(4, Constants.ACTIVITY_TYPE_END);
		parameterContext.setParameter(5, Constants.ACTIVITY_TYPE_SUB);
		
		parameterContext.setParameter(6, Constants.ACTIVITY_DECISION_SINGLE);
		parameterContext.setParameter(7, Constants.ACTIVITY_DECISION_MULTI);
		parameterContext.setParameter(8, Constants.ACTIVITY_DECISION_ALL);
		parameterContext.setParameter(9, Constants.ACTIVITY_POLYMEMODE_SINGLE);
		parameterContext.setParameter(10, Constants.ACTIVITY_POLYMEMODE_MULTI);
		parameterContext.setParameter(11, Constants.ACTIVITY_POLYMEMODE_ALL);
		
		parameterContext.setParameter(12, Constants.ACTIVITY_ISMULWORKITEMS);
		parameterContext.setParameter(13, Constants.WORKITEM_STATE_ABORTED);
		parameterContext.setParameter(14, Constants.WORKITEM_STATE_FINISH);
		parameterContext.setParameter(15, Constants.WORKITEM_STATE_RUNNING);
		
		
	}
}